package com.salary.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.salary.entity.Employees;
import com.salary.entity.view.ChartModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工数据访问层
 */
public interface EmployeesMapper extends BaseMapper<Employees> {


    /**
     * 列表
     * @param iPage
     * @param obj
     * @return
     */
    List<Employees> list(@Param("iPage") IPage iPage, @Param("obj") Employees obj);


    List<ChartModel> getChart();


}
